import cv2
import sys

try:
    filename = sys.argv[0]
except:
    filename = "d://ena.jpg"

winName1="11"
img = cv2.imread( filename )
cv2.namedWindow(winName1)
cv2.imshow(winName1, img)
cv2.waitKey(0)